package com.life.ai.server.modules.system.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * ModifyPwdDto
 *
 * @author kylewka
 * @since 2023/11/15
 */
@Data
public class ModifyPwdDTO {

    @ApiModelProperty("旧密码")
    @NotBlank(message = "旧密码为空")
    private String oldPassword;

    @ApiModelProperty("新密码")
    @NotBlank(message = "新密码为空")
    private String newPassword;
}
